<{include file="admin/public/header.tpl"}>
		<div id="main">
		  	<div class="head-dark-box">
				<div class="tit">后台管理->图片管理->修改图片</div>
			</div>	
			<{ include file="admin/public/title.tpl" }>
		    <form  method="post" action="admin.php?m=image&a=update" enctype="multipart/form-data">
			<div class="msg-box">
				<ul class="viewmess">
					<input type="hidden" name="id" value="<{$post.id}>">
					<li class="light-row">
						<span class="col_width">修改相册</span>
							<{ $select }>	
						</li>
					<li class="dark-row">
						<span class="col_width">图片标题<span class="red_font">*</span></span>
						<input type="text" class="text-box" name="picTitle" size="20" value="<{ $post.picTitle }>">
					</li>
					<li class="light-row">
						<span class="col_width" style="margin-top:30px">图片描述</span>
						<textarea class="text-box" name="description" cols="30" rows="5"><{ $post.description }></textarea>
					</li>

					<li class="dark-row">
						<span class="col_width">&nbsp; </span>
						<input type="checkbox" name="hasThumb" value="1" <{ $hasThumb }>> 生成缩略图 
						<input type="checkbox" name="hasMark" value="1" <{ $hasMark }>> 加水印 
					</li>
				
					<li class="light-row">
						<span class="col_width">更改图片 </span>
						<{if $post.hasThumb}>
							<a href="javascript:newopen(<{ $post.id }>)"><img border=0 src="<{$picPath}>th_<{$post.picName}>" alt="图片预览" width=80 height="80" /></a>
						<{else}>
							<a href="javascript:newopen(<{ $post.id }>)"><img border=0 src="<{$picPath}><{$post.picName}>" alt="图片预览" width=80 height="80"/></a>
						<{/if}><br>
						<span class="col_width"> </span>
						<input type="hidden" name="picName" value="<{$post.picName}>">
						<input type="file" name="pic" />&nbsp;&nbsp;如果需要更换图片请重新选择
					</li>
					<li class="light-row">
						<span class="col_width">&nbsp;</span>
			
						<input type="submit" class="button"  value="修 改">&nbsp;&nbsp;
						<input type="reset" class="button" value="重 置">
					</li>
				</ul>	
			</div>
                    </form>	
		</div>
<div id="timer">
	<p><span class="exetime">当前脚本执行用时</span><span class="red_font"><{ $timer }></span>秒&nbsp;</p>	
</div>
<{include file="admin/public/footer.tpl"}>	


